
    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>1-MySQL安装手册 - 学习卡片</title>
      <style>
        body { font-family: sans-serif; background-color: #f0f8ff; color: #333; display: flex; flex-direction: column; align-items: center; padding: 50px 20px; }
        .header h1 { font-size: 32px; }
        .grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: 100%; max-width: 1200px; }
        .card-container { perspective: 1200px; cursor: pointer; height: 250px; }
        .card { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.7s; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
        .card-container.flipped .card { transform: rotateY(180deg); }
        .card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; display: flex; flex-direction: column; box-sizing: border-box; border-radius: 16px; background-color: #fff; padding: 24px; }
        .card-back { background-color: #f0fff4; transform: rotateY(180deg); justify-content: space-between; }
        .card-category { font-size: 14px; color: #0052d9; margin-bottom: 8px; font-weight: 500; }
        .card-question { font-size: 20px; font-weight: 500; flex-grow: 1; display: flex; align-items: center; justify-content: center; text-align: center; }
        .card-answer-wrapper { flex-grow: 1; overflow-y: auto; }
        .card-answer { font-size: 15px; line-height: 1.7; }
        .card-footer { font-size: 13px; color: #8a919f; border-top: 1px solid #f0f0f0; padding-top: 16px; margin-top: 16px; }
        .card-source { font-size: 13px; color: #8a919f; border-top: 1px solid #f0f0f0; padding-top: 12px; margin-top: 12px; }
      </style>
    </head>
    <body>
      <div class="header">
        <h1>1-MySQL安装手册 - 学习卡片</h1>
      </div>
      <div class="grid-container">
        
    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">配置</div>
          <div class="card-question">在MySQL安装过程中，提供了哪三种服务器配置类型？它们在内存占用上有何区别？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">配置</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">提供了三种类型：1. Developer Machine（开发机器），占用最少的内存；2. Server Machine（服务器机器），内存占用居中；3. Dedicated MySQL Server Machine（专用MySQL服务器），占用机器全部有效的内存。</div>
          </div>
          <div class="card-source">来源: 二、安装 - 11、服务器配置型选择</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">安全实践</div>
          <div class="card-question">根据文档，在设置MySQL管理员密码时，出于安全角度考虑，对于创建新用户有何建议？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">安全实践</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">文档建议，在设置管理员密码的步骤中，从安全角度考虑最好不要创建（额外的）用户。</div>
          </div>
          <div class="card-source">来源: 二、安装 - 12、设置管理员密码</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">配置</div>
          <div class="card-question">MySQL安装过程中默认使用的网络端口号是多少？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">配置</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">默认端口号是3306。</div>
          </div>
          <div class="card-source">来源: 二、安装 - 11、服务器配置型选择</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">验证</div>
          <div class="card-question">文档中提到了哪种方法来测试MySQL是否安装成功？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">验证</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">在安装完成界面勾选“Start MySQL Workbench after Setup”，如果之后出现了Workbench GUI页面，则代表安装成功。</div>
          </div>
          <div class="card-source">来源: 二、安装 - 14、确认安装完成 & 三、安装成功 - 1、出现Workbench GUI页面</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">配置</div>
          <div class="card-question">“Developer Machine”配置类型主要适用于什么场景？其内存使用特点是什么？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">配置</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">它适用于将MySQL服务器作为开发机器一部分的场景，其特点是在三种类型中占用最少的内存。</div>
          </div>
          <div class="card-source">来源: 二、安装 - 11、服务器配置型选择</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">操作</div>
          <div class="card-question">在安装过程中，如果不想检查最新产品更新，应该如何操作？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">操作</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">可以选择下方的“Skip the check for updates(not recommended)”选项来跳过更新检查。</div>
          </div>
          <div class="card-source">来源: 二、安装 - 3、勾选“I accept the license terms”后</div>
        </div>
      </div>
    </div>

      </div>
    </body>
    </html>
